import tkinter
N = int(input())
s = int(input())
v = int(input())
if v == 0 and N>=0 and N<=500 and N>=0 and N<=500:
    pass
else:
    if v > 0 and 0*v+N>=0 and 0*v+N>=0 and 20*v+N<=500 and 20*v+N<=500:
        pass
    else:
        if v < 0 and 20*v+N>=0 and 20*v+N>=0 and 0*v+N<=500 and 0*v+N<=500:
            pass
        else:
            print('Размер фигуры превышает максимальный размер поля')
            exit()
master = tkinter.Tk()
canvas = tkinter.Canvas(master, bg = "white", height = 500, width = 500)
canvas.create_polygon((0 * v + N, 0 * v + s), (10 * v + N, 0 * v + s), (10 * v + N, 10 * v + s), (20 * v + N, 10 * v + s), (20 * v + N, 20 * v + s), (10 * v + N, 20 * v + s), (10 * v + N, 30 * v + s), (0 * v + N, 30 * v + s), fill = "blue" )
canvas.pack()
master.mainloop()



